.dailyBill {
  margin-bottom: 10px;
  border-radius: 10px;
  background: #ffffff;

  .header {
    --ka--text-color: #888c98;
    padding: 15px 15px 10px 15px;

    .dateIcon {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 21px;
      margin-bottom: 9px;

      .arrow {
        display: inline-block;
        width: 5px;
        height: 5px;
        margin-top: -3px;
        border-top: 2px solid #888c98;
        border-left: 2px solid #888c98;
        transform: rotate(225deg);
        transform-origin: center;
        transition: all 0.3s;
        
        /* 添加expend类时的样式 */
        &.expand {
          transform: translate(0, 2px) rotate(45deg); /* 向下方向 */
        }
      }
      .date {
        font-size: 14px;
      }
    }
  }
  .oneLineOverview {
    display: flex;
    justify-content: space-between;
    /* 支出样式优化 */

    .pay,
    .income,
    .balance {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 8px 12px;
    }
    .pay {
      flex: 1;
      border-right: 1px solid #f0f0f0;

      .label {
        display: flex;
        align-items: center;
        margin-bottom: 4px;
        font-size: 14px;
        color: #999;
      }

      .type {
        font-size: 18px;
        margin-right: 5px;
        color: #e56a77;
      }

      .money {
        font-weight: 600;
        font-size: 18px; /* 增大金额字体 */
        color: #e56a77; /* 与类型图标保持一致 */
        letter-spacing: 0.5px;
      }
    }

    /* 收入样式优化 */
    .income {
      flex: 1;
      border-right: 1px solid #f0f0f0;

      .label {
        display: flex;
        align-items: center;
        margin-bottom: 4px;
        font-size: 14px;
        color: #999;
      }

      .type {
        font-size: 18px;
        margin-right: 5px;
        color: #4f827c;
      }

      .money {
        font-weight: 600;
        font-size: 18px; /* 增大金额字体 */
        color: #4f827c; /* 与类型图标保持一致 */
        letter-spacing: 0.5px;
      }
    }

    /* 结余样式优化 */
    .balance {
      flex: 1;

      .label {
        display: flex;
        justify-content: flex-end;
        align-items: center;
        width: 100%;
        margin-bottom: 4px;
        font-size: 14px;
        color: #999;
      }

      .type {
        font-size: 18px;
        margin-right: 6px;
        color: #4f827c;
      }

      .money {
        font-weight: 700; /* 更粗的字体 */
        font-size: 22px; /* 更大的字体尺寸 */
        color: #4f827c;
        letter-spacing: 0.8px;
      }
    }
  }

  .billList {
    padding: 15px 10px 15px 15px;
    border-top: 1px solid #ececec;
    .bill {
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 43px;
      margin-bottom: 15px;

      &:last-child {
        margin-bottom: 0;
      }
      .icon {
        margin-right: 10px;
        font-size: 25px;
      }

      .detail {
        flex: 1;
        padding: 4px 0;

        .billType {
          height: 17px;
          line-height: 17px;
          font-size: 15px;
        }
      }

      .money {
        font-size: 17px;
        &.pay {
          color: #ff917b;
        }
        &.income {
          color: #4f827c;
        }
      }
    }
  }
}
.dailyBill.expand {
  .header {
    border-bottom: 1px solid #ececec;
  }
  .billList {
    display: block;
  }
}
